package bussinessService;

import java.sql.SQLException;

import module.Employees;
import module.Shop;
import service.basicService;
import service.impl.EmployeesServiceImpl;
import service.impl.ShopServiceImpl;
import domain.vo.EmployeesVO;
import domain.vo.queryObject;
import exception.EmployeeNoExistException;

/**
 * 
 * @ClassName: employeesBussinessService
 * @Description: 员工业务层接口
 * @author chenchao
 * @date 2013-10-31 上午06:12:48
 * 
 */
public interface employeesBussinessService extends
		basicbussinessService<Employees,EmployeesVO> {
	public basicService<Employees> employeesService = new EmployeesServiceImpl();
	public basicService<Shop> shopService = new ShopServiceImpl();

	/**
	 * 校验用户是否存在
	 * 
	 * @param queryObject
	 *            查询对象
	 * @return 布尔值
	 * @throws SQLException
	 */
	public boolean validateUserExist(queryObject queryObject)
			throws SQLException;

	/**
	 * 获取一个员工对象
	 * 
	 * @param queryObject查
	 *            询对象
	 * @return工对象
	 * @throws SQLException
	 */
	public Employees getEmployeeByQueryObject(queryObject queryObject)
			throws SQLException, EmployeeNoExistException;
}
